<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/kindeditor/lang/zh_CN.js"></script>
<link href="<%=request.getContextPath() %>/js/kindeditor/themes/default/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var editor;
KindEditor.ready(function(K) {
	editor = K.create('.editor-txt', {
		resizeType : 1,
		height:400,
		allowPreviewEmoticons : false,
		uploadJson:'<s:url action="upload"/>',
		items : [
			'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
			'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
			'insertunorderedlist', '|', 'image', 'link','source']
	});
});
</script>